package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 球员等级
 */
@Entity
@Setter
@Getter
@ToString
public class FootLevelUp extends BaseEntity implements Serializable {
    @Column(name = "level")
    @NotNull
    private Integer level;
    @Column(name = "jf")
    @NotNull
    private Integer jf;
    @Column(name = "dan_grading_id")
    @NotNull
    private Long danGradingId;
    @Transient
    private String danGradingName;
}